package com.mszlu.rpc.annotation;

import com.mszlu.rpc.bean.MsBeanDefinitionRegistry;
import com.mszlu.rpc.spring.MsRpcSpringBeanPostProcessor;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({MsRpcSpringBeanPostProcessor.class})
public @interface EnableRpc {
    String nacosHost() default  "localhost";
    int nacosPort() default 8848;
    String nacosGroup() default "ms-rpc-group";
    int serverPort() default 13567;
    String loadBalance() default "random";
}
